package springMvc;

import java.util.Date;

public class Student {

    private String userName;
    private String sex;
    private String birthday;
    private int age;
    private Date createDate;

    public Student() {}

    public Student(String userName, String sex, String birthday, int age) {
        this.userName = userName;
        this.sex = sex;
        this.birthday = birthday;
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
